package org.jeecg.modules.pbmp.assetsRecord.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.pbmp.assetsRecord.entity.AssetsRecord;
import org.jeecg.modules.pbmp.assetsRecord.mapper.AssetsRecordMapper;
import org.jeecg.modules.pbmp.assetsRecord.service.IAssetsRecordService;
import org.jeecg.modules.pbmp.returnStage.entity.ReturnStage;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 资产备案信息
 * @Author: jeecg-boot
 * @Date:   2021-01-28
 * @Version: V1.0
 */
@Service
public class AssetsRecordServiceImpl extends ServiceImpl<AssetsRecordMapper, AssetsRecord> implements IAssetsRecordService {

    @Override
    public Page<AssetsRecord> pageAssetsRecordList(Page<AssetsRecord> page, AssetsRecord assetsRecord) {
        List<AssetsRecord> l = baseMapper.selAssetsRecordList(page,assetsRecord);
        return page.setRecords(l);
    }
}
